package com.macro.mall.portal.service;

import com.macro.mall.portal.domain.SeckillEvent;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author：尚志豪
 * @Package：com.macro.mall.portal.service.impl
 * @Project：mall-swarm-B
 * @name：SeckillEventRepository
 * @Date：2024/11/1 16:28
 */
public interface SeckillEventRepository extends JpaRepository<SeckillEvent, Long> {
    SeckillEvent findActiveEventByProductId(Long productId);
}
